//
//  StoreListCell.m
//  penzer
//
//  Created by caiyc on 2018/10/28.
//  Copyright © 2018年 caiyc. All rights reserved.
//

#import "StoreListCell.h"

@implementation StoreListCell
- (IBAction)pickStore:(UIButton *)sender {
    self.pickStores();
}

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}
-(void)bindData:(NSDictionary *)dic{
    NSURL *url = [NSURL URLWithString:dic[@"logo"]];
    [self.logo sd_setImageWithURL:url];
    self.name.text = dic[@"title"];
    self.address.text = dic[@"address"];
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
